<?php




$link = mysql_connect('localhost', 'root', '');
if (!$link) {
   die('Could not connect: ' . mysql_error());
}
if (!mysql_select_db("ddl")) {
   echo "Unable to select mydbname: " . mysql_error();
   exit;
}

/*
$db_host = "popularcars.db.9739142.hostedresource.com";
// Place the username for the MySQL database here
$db_username = "popularcars";
// Place the password for the MySQL database here
$db_pass = "Rusdil@2008";
// Place the name for the MySQL database here
$db_name = "popularcars";

$dbc=mysql_connect("$db_host","$db_username","$db_pass") or die(mysql_error());
mysql_select_db("$db_name") or die("no database by that name");
*/


?>